package server;

import java.io.Serializable;

public class TextMessage extends ServerMessage implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5549512212003782618L;
	public long TextMessageID;
	public char[] TextMessageText = new char[40];
	public long TextMessageGroupID;
	public char[] TextMessageGroupName = new char[20];
	public long TextMessageSenderID;
	public char[] TextMessageSenderName = new char[20];
	
	public TextMessage(long ID, char[] Text, long GroupID, char[] GroupName, long SenderID, char[] SenderName){
		TextMessageID = ID;
		TextMessageText = Text;
		TextMessageGroupID = GroupID;
		TextMessageGroupName = GroupName;
		TextMessageSenderID = SenderID;
		TextMessageSenderName = SenderName;
		super.Class = "TextMessage";
	}

}
